package com.prs.crm.service.cqunicom.impl;

import java.util.List;

import com.prs.crm.dao.cqunicom.ServicesDao;

import com.prs.crm.domain.cqunicom.Services;
import com.prs.crm.domain.cqunicom.ServicesType;

import com.prs.crm.service.cqunicom.ServicesService;
import com.prs.crm.service.impl.BaseServiceImpl;

/**
 * @author  WangTing
 *
 * 创建时间：2011-3-4 
 * 
 */
public class ServicesServiceImpl extends BaseServiceImpl<Services, ServicesDao> implements ServicesService {

	@Override
	public List<Services> getAllServices() {
		// TODO Auto-generated method stub
		return this.getDao().getAllServices();
	}

	@Override
	public List<Services> getServicesBytype(String types) {
		// TODO Auto-generated method stub
		return this.getDao().getServicesBytype(types);
	}

	@Override
	public List<Services> getByStyle(ServicesType servicesType) {
		// TODO Auto-generated method stub
		return this.getDao().getByStyle(servicesType);
	}

	@Override
	public List<Services> getByWorkPattern(String workPattern) {
		// TODO Auto-generated method stub
		return this.getDao().getByWorkPattern(workPattern);
	}

	@Override
	public List<Services> getBySheet(String sheets) {
		// TODO Auto-generated method stub
		return this.getDao().getBySheet(sheets);
	}

	@Override
	public List<Services> getByall() {
		// TODO Auto-generated method stub
		return this.getDao().getByall();
	}

	@Override
	public void saveOrUpservices(Services s) {
		this.getDao().saveOrUpservices(s);
	}

}
